package cn.itsource.org.domain;

import cn.itsource.basic.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

@AllArgsConstructor //全参构造
@NoArgsConstructor  //无参构造
@Data   //get set toString equals  toString  hashCode
@Table(name = "t_employee")
@ApiModel(value = "员工对象", description = "员工对象吧，懂的都懂")
public class Employee extends BaseDomain {

    private String username;
    private String email;
    private String phone;
    private String password;
    private Integer age;
    private Integer state;

    private Long departmentId;
    private Long logininfoId;
    private Long shopId;
    private Long parentId;
    private Long managerId;
}
